﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using BulletinModel;
using BulletinMvc.Models;
namespace BulletinMvc.Lib
{
    interface IBulletinBL
    {
        IQueryable<Bulletin> GetBulletinList();
        IQueryable<Bulletin> GetAnonymousBulletinList();
        bool DeleteBulletin(int id);
        void saveBulletin( BulletinCreateModel savebulletin);
        void SaveEditBulletin(int BulletinID, BulletinCreateModel savebulletin);
        int GetBulletinCount();
        BulletinCreateModel DeleteDetail(int id);
        String GetBulletinName(int BulletinId);
        String GetBulletinDescription(int BulletinId);
    }
}
